
public class CalendarBn extends java.awt.Panel


Field Summary 
-------------------
static int dd_mm_yyyy 
static int dd_mmm_yyyy 
static int dd_mmmm_yyyy 
static int ldow_dd_mmm_yyyy 
static int ldow_dd_mmmm_yyyy 
static int ldow_mmm_dd_yyyy 
static int ldow_mmmm_dd_yyyy 
static int mm_dd_yyyy 
static int mmm_dd_yyyy 
static int mmmm_dd_yyyy 
static int sdow_dd_mmm_yyyy 
static int sdow_dd_mmmm_yyyy 
static int sdow_mmm_dd_yyyy          // Default Date Format 
static int sdow_mmmm_dd_yyyy 
            
Constructor Summary 
-------------------
CalendarBn() 
Default Date is Today.
Default Min Date is 'Previous years 1st January' and 
Default Max Date is 'Next years 31st December'            

 
CalendarBn(java.sql.Date date) 
CalendarBn(java.sql.Date date, java.sql.Date mindate, java.sql.Date maxdate) 
CalendarBn(java.util.GregorianCalendar date) 
CalendarBn(java.util.GregorianCalendar date,GregorianCalendar mindate,GregorianCalendar maxdate) 
CalendarBn(int yyyy, int mm, int dd) 
            
Method Summary 
----------------
public int addCalendarBnListener(CalendarBnListener dpl)
public int removeCalendarBnListener(CalendarBnListener dpl)

public void setEditableYearVisible(boolean flag)
public boolean getEditableYearVisible()

public void showToday(boolean flag)
public boolean getShowToday()

public void showDateRange(boolean flag)
public boolean getShowDateRange()

public void setTitle(String title)
public String getTitle()


//colors get-set
	public void setTitleBackground(Color color)
	public Color getTitleBackground()
	public void setTitleColor(Color color)
	public Color getTitleColor()

	public void setBorderColor(Color color)
	public Color getBorderColor()

	public void setBackground(Color color)
	public Color getBackground()

	public void setArrowColor(Color color)
	public Color getArrowColor()

	public void setWeekdaysColor(Color color)
	public Color getWeekdaysColor()

	public void setDaysColor(Color color)
	public Color getDaysColor()
		
	public void setMonthColor(Color color)
	public Color getMonthColor()
	
	public void setYearColor(Color color)
	public Color getYearColor()
	
	public void setMouseOverYear_Color(Color color)
	public Color getMouseOverYear_Color()
	
	public void setSelectionColor(Color color)
	public Color getSelectionColor()
	

	public void setDateFormat(int dateformat)
	public int getDateFormat()
	
	public void setDate(java.sql.Date date)  throws CalendarBnException
	public void setDate(GregorianCalendar dt)  throws CalendarBnException
	public void setDate(int yyyy,int mm,int dd)  throws CalendarBnException
	

	public void setMinDate(java.sql.Date date)  throws GreaterThanMaxDateException
	public void setMinDate(int yyyy,int mm,int dd)  throws CalendarBnException
	public void setMinDate(GregorianCalendar dt)  throws GreaterThanMaxDateException
	

	public void setMaxDate(java.sql.Date date)  throws LessThanMinDateException
	public void setMaxDate(int yyyy,int mm,int dd)  throws CalendarBnException
	public void setMaxDate(GregorianCalendar dt)  throws LessThanMinDateException
	
	

	public String toString()
	

	
	public GregorianCalendar getDate()
	public int getYear()
	public int getMonth()
	public int getDay()
	public GregorianCalendar getMinDate()
	public GregorianCalendar getMaxDate()
	
	public int getYearFrom(GregorianCalendar date)
	public int getMonthFrom(GregorianCalendar date)
	public int getDayFrom(GregorianCalendar date)
	

	public String getMonthStr(GregorianCalendar date)
	public String getDOW(GregorianCalendar date)
	

	public String getFormattedDate(GregorianCalendar dt,int dtformat)
	public String getFormattedDate()
	
	public void setDateValues(CalendarBn dp)
	public CalendarBn getDateValues()
	

	static public int CompareDates(GregorianCalendar date1,GregorianCalendar date2)
	static public int CompareDates(int dy1,int dm1,int dd1,int dy2,int dm2,int dd2)
	
************************************************************************************************

public interface CalendarBnListener

	public void dateChanged(CalendarBn CalBnObj);


************************************************************************************************

public class CalendarBnException 
		|
		|--- InvalidDateException
		|--- LessThanMinDateException
		|--- GreaterThanMaxDateException
